package app;

import keter.framework.web.server.KeterServer;

/**
 * <p>Class       : yourapp.AppStart
 * <p>Descdription: 开发环境下使用嵌入式jetty启动应用
 * 注意:不支持 servlet 3.0 annotation
 *
 * @author  gulixing@msn.com
 * @version 1.0.0
 */  
public  class AppStart{
	public final static int PORT = 8888;
    public static void main(String[] args) throws Exception {
        if(args.length==0){
            KeterServer.start(PORT);
        }
        else{
            KeterServer.start(Integer.valueOf(args[0]));
        }        
    }
}